﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Spaanjaars.ContactManager.Infrastructure.Validation
{
    public static class BrokenRulesExtensions
    {
        public static bool IsEmpty(this IEnumerable<IBrokenRule> brokenRules)
        {
            return brokenRules.Count() == 0;
        }
    }
}
